package com.hula.onion.book.server.service;


import com.hula.onion.book.server.common.CommonResponse;

/**
 * Created by shan on 18/1/24.
 */
public interface UserService {
    CommonResponse openIdLogin(String nickName, String headPic, String openId,int source);

    CommonResponse sendVerifyCode(String mobile, int codeType,String md5Code);

    CommonResponse register(String verifyCode, String mobile, String password);

    CommonResponse forgetPassword(String verifyCode, String mobile, String newPassword);

    CommonResponse pwdLogin(String mobile, String password);

    CommonResponse codeLogin(String mobile, String password);

    CommonResponse changePassword(int userId, String oldPassword, String newPassword);

    CommonResponse bindPhone(int userId,String verifyCode, String mobile, String password);

    CommonResponse bindThird(int userId,String openId,String nickName,String headPic,int source);

    CommonResponse createFeedBack(int userId, String message);

    CommonResponse littleWxLogin(String code);

}
